package com.translate.web.service;
import com.basic.service.contract.IBaseService;
import com.translate.vo.contract.IOrderPicVO;

import java.util.List;

import com.translate.entity.OrderPic;

public interface IOrderPicService extends IBaseService<OrderPic> { 

	/**
	 * 批量添加数据
	 * @param <S>
	 * @param list
	 * @param orderId
	 * @return
	 */
	int batchInsert(String[] list, int orderId);
	
	/**
	 * 获取图片
	 * @param <VO>
	 * @param orderId
	 * @param target
	 * @return
	 */
	<VO extends IOrderPicVO> List<VO> getPics(int orderId, Class<VO> target);
}
